package com.zdkj.daemon.quartz.feign;

import com.zdkj.common.core.constant.SecurityConstants;
import com.zdkj.common.core.constant.ServiceNameConstants;
import com.zdkj.common.core.util.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestHeader;


/**
 * 收入审核模块对外接口类
 * @author Administrator
 */
@FeignClient(contextId = "remoteSubwayCheckService", value = ServiceNameConstants.SUBWAY_CHECK_SERVICE)
@Component
public interface RemoteSubwayCheckService {
   /**
     * 自动提交TVM清点记录表
     * @param from
     * @return
     */
    @PostMapping("/xw_js_autosubmit/autoSubmitTvm")
    R autoSubmitTvm(@RequestHeader(SecurityConstants.FROM) String from);

	/**
     * 自动提交售票员结算单
     * @param from
     * @return
     */
    //@PostMapping("/xw_js_autosubmit/autoSubmitBom")
    //R autoSubmitBom(@RequestHeader(SecurityConstants.FROM) String from);

	/**
     * 自动提交互联网售票机记录表
     * @param from
     * @return
     */
    @PostMapping("/xw_js_autosubmit/autoSubmitInternet")
    R autoSubmitInternet(@RequestHeader(SecurityConstants.FROM) String from);
}
